<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="admob_v1beta.html">AdMob API</a> . <a href="admob_v1beta.accounts.html">accounts</a> . <a href="admob_v1beta.accounts.mediationGroups.html">mediationGroups</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="admob_v1beta.accounts.mediationGroups.mediationAbExperiments.html">mediationAbExperiments()</a></code>
</p>
<p class="firstline">Returns the mediationAbExperiments Resource.</p>

<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Create a mediation group under the specific AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">List mediation groups under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update the specified mediation group under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
  <pre>Create a mediation group under the specific AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.

Args:
  parent: string, Required. The parent which owns the mediation group. Format: accounts/{publisher_id} (required)
  body: object, The request body.
    The object takes the form of:

{ # Describes an AdMob Mediation group.
  &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the mediation group. The maximum length allowed is 120 characters.
  &quot;mediationAbExperimentState&quot;: &quot;A String&quot;, # Output only. The state of the mediation a/b experiment that belongs to this mediation group.
  &quot;mediationGroupId&quot;: &quot;A String&quot;, # The ID of the mediation group. Example: &quot;0123456789&quot;. This is a read only property.
  &quot;mediationGroupLines&quot;: { # The mediation lines used for serving for this mediation group. Key is the ID of the mediation group line. For creation, use distinct negative values as placeholder.
    &quot;a_key&quot;: { # Settings for an ad network used by a mediation group.
      &quot;adSourceId&quot;: &quot;A String&quot;, # The ID of the ad source this mediation line is associated with.
      &quot;adUnitMappings&quot;: { # References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
      &quot;cpmMicros&quot;: &quot;A String&quot;, # The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpm_mode` is `LIVE`. **Warning:** &quot;USD&quot; is the only supported currency at the moment. The unit is in micros.
      &quot;cpmMode&quot;: &quot;A String&quot;, # Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create or update to other cpm modes.
      &quot;displayName&quot;: &quot;A String&quot;, # User-provided label for this mediation line. The maximum length allowed is 255 characters.
      &quot;experimentVariant&quot;: &quot;A String&quot;, # Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
      &quot;id&quot;: &quot;A String&quot;, # The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
      &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group line. Only enabled mediation group lines will be served.
    },
  },
  &quot;name&quot;: &quot;A String&quot;, # Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
  &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group. Only enabled mediation groups will be served.
  &quot;targeting&quot;: { # Set of criteria targeted by this mediation group. For example, a mediation group can target specific ad unit IDs, platform, format and geo location. # Set of criteria targeted by this mediation group, such as ad units and geo locations.
    &quot;adUnitIds&quot;: [ # Ad units targeted by this mediation group. Example: &quot;ca-app-pub-1234/8790&quot;.
      &quot;A String&quot;,
    ],
    &quot;excludedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group does not exclude any region.
      &quot;A String&quot;,
    ],
    &quot;format&quot;: &quot;A String&quot;, # Ad format targeted by this mediation group. Examples: &quot;banner&quot;, &quot;native&quot;.
    &quot;idfaTargeting&quot;: &quot;A String&quot;, # The parameter can be used to target ad requests based on the availability of the IDFA. If set to ALL, the mediation group applies to all ad requests (with or without IDFA). If set to AVAILABLE, the mediation group applies to ad requests with IDFA. If set to NOT_AVAILABLE, the mediation group applies to ad requests without IDFA. Doesn&#x27;t need to be specified for an ANDROID device.
    &quot;platform&quot;: &quot;A String&quot;, # Describes the platform of the app. Examples: &quot;IOS&quot;, &quot;ANDROID&quot;.
    &quot;targetedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group targets all available regions. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.
      &quot;A String&quot;,
    ],
  },
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Describes an AdMob Mediation group.
  &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the mediation group. The maximum length allowed is 120 characters.
  &quot;mediationAbExperimentState&quot;: &quot;A String&quot;, # Output only. The state of the mediation a/b experiment that belongs to this mediation group.
  &quot;mediationGroupId&quot;: &quot;A String&quot;, # The ID of the mediation group. Example: &quot;0123456789&quot;. This is a read only property.
  &quot;mediationGroupLines&quot;: { # The mediation lines used for serving for this mediation group. Key is the ID of the mediation group line. For creation, use distinct negative values as placeholder.
    &quot;a_key&quot;: { # Settings for an ad network used by a mediation group.
      &quot;adSourceId&quot;: &quot;A String&quot;, # The ID of the ad source this mediation line is associated with.
      &quot;adUnitMappings&quot;: { # References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
      &quot;cpmMicros&quot;: &quot;A String&quot;, # The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpm_mode` is `LIVE`. **Warning:** &quot;USD&quot; is the only supported currency at the moment. The unit is in micros.
      &quot;cpmMode&quot;: &quot;A String&quot;, # Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create or update to other cpm modes.
      &quot;displayName&quot;: &quot;A String&quot;, # User-provided label for this mediation line. The maximum length allowed is 255 characters.
      &quot;experimentVariant&quot;: &quot;A String&quot;, # Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
      &quot;id&quot;: &quot;A String&quot;, # The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
      &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group line. Only enabled mediation group lines will be served.
    },
  },
  &quot;name&quot;: &quot;A String&quot;, # Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
  &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group. Only enabled mediation groups will be served.
  &quot;targeting&quot;: { # Set of criteria targeted by this mediation group. For example, a mediation group can target specific ad unit IDs, platform, format and geo location. # Set of criteria targeted by this mediation group, such as ad units and geo locations.
    &quot;adUnitIds&quot;: [ # Ad units targeted by this mediation group. Example: &quot;ca-app-pub-1234/8790&quot;.
      &quot;A String&quot;,
    ],
    &quot;excludedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group does not exclude any region.
      &quot;A String&quot;,
    ],
    &quot;format&quot;: &quot;A String&quot;, # Ad format targeted by this mediation group. Examples: &quot;banner&quot;, &quot;native&quot;.
    &quot;idfaTargeting&quot;: &quot;A String&quot;, # The parameter can be used to target ad requests based on the availability of the IDFA. If set to ALL, the mediation group applies to all ad requests (with or without IDFA). If set to AVAILABLE, the mediation group applies to ad requests with IDFA. If set to NOT_AVAILABLE, the mediation group applies to ad requests without IDFA. Doesn&#x27;t need to be specified for an ANDROID device.
    &quot;platform&quot;: &quot;A String&quot;, # Describes the platform of the app. Examples: &quot;IOS&quot;, &quot;ANDROID&quot;.
    &quot;targetedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group targets all available regions. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.
      &quot;A String&quot;,
    ],
  },
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
  <pre>List mediation groups under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.

Args:
  parent: string, Required. Resource name of the account to list mediation groups for. Example: accounts/pub-9876543210987654 (required)
  filter: string, The filter string that uses [EBNF grammar syntax](https://google.aip.dev/assets/misc/ebnf-filtering.txt). Possible fields to filter by are: - &quot;AD_SOURCE_IDS&quot; - &quot;AD_UNIT_IDS&quot; - &quot;APP_IDS&quot; - &quot;DISPLAY_NAME&quot; - &quot;FORMAT&quot; - &quot;MEDIATION_GROUP_ID&quot; - &quot;PLATFORM&quot; - &quot;STATE&quot; - &quot;TARGETED_REGION_CODES&quot; Possible filter functions are: - `IN`: Used to filter fields that represent a singleton including &quot;MEDIATION_GROUP_ID&quot;, &quot;DISPLAY_NAME&quot;, &quot;STATE&quot;, &quot;PLATFORM&quot;, and &quot;FORMAT&quot;. - `CONTAINS_ANY`: Used to filter fields that represent a collection including &quot;AD_SOURCE_IDS&quot;, &quot;AD_UNIT_IDS&quot;, &quot;APP_IDS&quot;, and &quot;TARGETED_REGION_CODES&quot;. The filter functions can be added together using `AND`. `OR` functionality is not supported. Example: filter: IN(DISPLAY_NAME, &quot;Test Group 1&quot;, &quot;Test Group 2&quot;) AND IN(PLATFORM, &quot;ANDROID&quot;) AND CONTAINS_ANY(AD_SOURCE_IDS, &quot;5450213213286189855&quot;)
  pageSize: integer, The maximum number of mediation groups to return. If unspecified or 0, at most 10,000 mediation groups will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
  pageToken: string, The value returned by the last `ListMediationGroupsResponse`; indicates that this is a continuation of a prior `ListMediationGroups` call, and that the system should return the next page of data.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for the mediation groups list request.
  &quot;mediationGroups&quot;: [ # The resulting mediation groups for the requested account.
    { # Describes an AdMob Mediation group.
      &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the mediation group. The maximum length allowed is 120 characters.
      &quot;mediationAbExperimentState&quot;: &quot;A String&quot;, # Output only. The state of the mediation a/b experiment that belongs to this mediation group.
      &quot;mediationGroupId&quot;: &quot;A String&quot;, # The ID of the mediation group. Example: &quot;0123456789&quot;. This is a read only property.
      &quot;mediationGroupLines&quot;: { # The mediation lines used for serving for this mediation group. Key is the ID of the mediation group line. For creation, use distinct negative values as placeholder.
        &quot;a_key&quot;: { # Settings for an ad network used by a mediation group.
          &quot;adSourceId&quot;: &quot;A String&quot;, # The ID of the ad source this mediation line is associated with.
          &quot;adUnitMappings&quot;: { # References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
            &quot;a_key&quot;: &quot;A String&quot;,
          },
          &quot;cpmMicros&quot;: &quot;A String&quot;, # The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpm_mode` is `LIVE`. **Warning:** &quot;USD&quot; is the only supported currency at the moment. The unit is in micros.
          &quot;cpmMode&quot;: &quot;A String&quot;, # Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create or update to other cpm modes.
          &quot;displayName&quot;: &quot;A String&quot;, # User-provided label for this mediation line. The maximum length allowed is 255 characters.
          &quot;experimentVariant&quot;: &quot;A String&quot;, # Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
          &quot;id&quot;: &quot;A String&quot;, # The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
          &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group line. Only enabled mediation group lines will be served.
        },
      },
      &quot;name&quot;: &quot;A String&quot;, # Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
      &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group. Only enabled mediation groups will be served.
      &quot;targeting&quot;: { # Set of criteria targeted by this mediation group. For example, a mediation group can target specific ad unit IDs, platform, format and geo location. # Set of criteria targeted by this mediation group, such as ad units and geo locations.
        &quot;adUnitIds&quot;: [ # Ad units targeted by this mediation group. Example: &quot;ca-app-pub-1234/8790&quot;.
          &quot;A String&quot;,
        ],
        &quot;excludedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group does not exclude any region.
          &quot;A String&quot;,
        ],
        &quot;format&quot;: &quot;A String&quot;, # Ad format targeted by this mediation group. Examples: &quot;banner&quot;, &quot;native&quot;.
        &quot;idfaTargeting&quot;: &quot;A String&quot;, # The parameter can be used to target ad requests based on the availability of the IDFA. If set to ALL, the mediation group applies to all ad requests (with or without IDFA). If set to AVAILABLE, the mediation group applies to ad requests with IDFA. If set to NOT_AVAILABLE, the mediation group applies to ad requests without IDFA. Doesn&#x27;t need to be specified for an ANDROID device.
        &quot;platform&quot;: &quot;A String&quot;, # Describes the platform of the app. Examples: &quot;IOS&quot;, &quot;ANDROID&quot;.
        &quot;targetedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group targets all available regions. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.
          &quot;A String&quot;,
        ],
      },
    },
  ],
  &quot;nextPageToken&quot;: &quot;A String&quot;, # If not empty, indicates that there may be more mediation groups for the request; this value should be passed in a new `ListMediationGroupsRequest`.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
  <pre>Update the specified mediation group under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.

Args:
  name: string, Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789 (required)
  body: object, The request body.
    The object takes the form of:

{ # Describes an AdMob Mediation group.
  &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the mediation group. The maximum length allowed is 120 characters.
  &quot;mediationAbExperimentState&quot;: &quot;A String&quot;, # Output only. The state of the mediation a/b experiment that belongs to this mediation group.
  &quot;mediationGroupId&quot;: &quot;A String&quot;, # The ID of the mediation group. Example: &quot;0123456789&quot;. This is a read only property.
  &quot;mediationGroupLines&quot;: { # The mediation lines used for serving for this mediation group. Key is the ID of the mediation group line. For creation, use distinct negative values as placeholder.
    &quot;a_key&quot;: { # Settings for an ad network used by a mediation group.
      &quot;adSourceId&quot;: &quot;A String&quot;, # The ID of the ad source this mediation line is associated with.
      &quot;adUnitMappings&quot;: { # References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
      &quot;cpmMicros&quot;: &quot;A String&quot;, # The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpm_mode` is `LIVE`. **Warning:** &quot;USD&quot; is the only supported currency at the moment. The unit is in micros.
      &quot;cpmMode&quot;: &quot;A String&quot;, # Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create or update to other cpm modes.
      &quot;displayName&quot;: &quot;A String&quot;, # User-provided label for this mediation line. The maximum length allowed is 255 characters.
      &quot;experimentVariant&quot;: &quot;A String&quot;, # Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
      &quot;id&quot;: &quot;A String&quot;, # The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
      &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group line. Only enabled mediation group lines will be served.
    },
  },
  &quot;name&quot;: &quot;A String&quot;, # Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
  &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group. Only enabled mediation groups will be served.
  &quot;targeting&quot;: { # Set of criteria targeted by this mediation group. For example, a mediation group can target specific ad unit IDs, platform, format and geo location. # Set of criteria targeted by this mediation group, such as ad units and geo locations.
    &quot;adUnitIds&quot;: [ # Ad units targeted by this mediation group. Example: &quot;ca-app-pub-1234/8790&quot;.
      &quot;A String&quot;,
    ],
    &quot;excludedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group does not exclude any region.
      &quot;A String&quot;,
    ],
    &quot;format&quot;: &quot;A String&quot;, # Ad format targeted by this mediation group. Examples: &quot;banner&quot;, &quot;native&quot;.
    &quot;idfaTargeting&quot;: &quot;A String&quot;, # The parameter can be used to target ad requests based on the availability of the IDFA. If set to ALL, the mediation group applies to all ad requests (with or without IDFA). If set to AVAILABLE, the mediation group applies to ad requests with IDFA. If set to NOT_AVAILABLE, the mediation group applies to ad requests without IDFA. Doesn&#x27;t need to be specified for an ANDROID device.
    &quot;platform&quot;: &quot;A String&quot;, # Describes the platform of the app. Examples: &quot;IOS&quot;, &quot;ANDROID&quot;.
    &quot;targetedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group targets all available regions. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.
      &quot;A String&quot;,
    ],
  },
}

  updateMask: string, List of mediation group fields to be updated. Updates to repeated fields such as items in a list will fully replace the existing value(s) with the new value(s). Updates to individual values in a map can be done by indexing by the key. The following field masks are supported for mediation group updates: - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;]&quot; clang-format off - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;].ad_unit_mappings[\&quot;{ad_unit_id}\&quot;]&quot; clang-format on - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;].cpm_micros&quot; - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;].cpm_mode&quot; - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;].state&quot; - &quot;mediation_group_lines[\&quot;{mediation_group_line_id}\&quot;].display_name&quot; - &quot;targeting.ad_unit_ids&quot; To update a mediation group with a new mediation group line, use a distinct negative number for the &quot;mediation_group_line_id&quot;. For Example: update_mask { paths: &quot;mediation_group_lines[\&quot;123456789012345\&quot;].cpm_micros&quot; }
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Describes an AdMob Mediation group.
  &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the mediation group. The maximum length allowed is 120 characters.
  &quot;mediationAbExperimentState&quot;: &quot;A String&quot;, # Output only. The state of the mediation a/b experiment that belongs to this mediation group.
  &quot;mediationGroupId&quot;: &quot;A String&quot;, # The ID of the mediation group. Example: &quot;0123456789&quot;. This is a read only property.
  &quot;mediationGroupLines&quot;: { # The mediation lines used for serving for this mediation group. Key is the ID of the mediation group line. For creation, use distinct negative values as placeholder.
    &quot;a_key&quot;: { # Settings for an ad network used by a mediation group.
      &quot;adSourceId&quot;: &quot;A String&quot;, # The ID of the ad source this mediation line is associated with.
      &quot;adUnitMappings&quot;: { # References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
      &quot;cpmMicros&quot;: &quot;A String&quot;, # The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpm_mode` is `LIVE`. **Warning:** &quot;USD&quot; is the only supported currency at the moment. The unit is in micros.
      &quot;cpmMode&quot;: &quot;A String&quot;, # Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create or update to other cpm modes.
      &quot;displayName&quot;: &quot;A String&quot;, # User-provided label for this mediation line. The maximum length allowed is 255 characters.
      &quot;experimentVariant&quot;: &quot;A String&quot;, # Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
      &quot;id&quot;: &quot;A String&quot;, # The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
      &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group line. Only enabled mediation group lines will be served.
    },
  },
  &quot;name&quot;: &quot;A String&quot;, # Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
  &quot;state&quot;: &quot;A String&quot;, # The status of the mediation group. Only enabled mediation groups will be served.
  &quot;targeting&quot;: { # Set of criteria targeted by this mediation group. For example, a mediation group can target specific ad unit IDs, platform, format and geo location. # Set of criteria targeted by this mediation group, such as ad units and geo locations.
    &quot;adUnitIds&quot;: [ # Ad units targeted by this mediation group. Example: &quot;ca-app-pub-1234/8790&quot;.
      &quot;A String&quot;,
    ],
    &quot;excludedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group does not exclude any region.
      &quot;A String&quot;,
    ],
    &quot;format&quot;: &quot;A String&quot;, # Ad format targeted by this mediation group. Examples: &quot;banner&quot;, &quot;native&quot;.
    &quot;idfaTargeting&quot;: &quot;A String&quot;, # The parameter can be used to target ad requests based on the availability of the IDFA. If set to ALL, the mediation group applies to all ad requests (with or without IDFA). If set to AVAILABLE, the mediation group applies to ad requests with IDFA. If set to NOT_AVAILABLE, the mediation group applies to ad requests without IDFA. Doesn&#x27;t need to be specified for an ANDROID device.
    &quot;platform&quot;: &quot;A String&quot;, # Describes the platform of the app. Examples: &quot;IOS&quot;, &quot;ANDROID&quot;.
    &quot;targetedRegionCodes&quot;: [ # The Unicode country/region code (CLDR) of a location, such as &quot;US&quot;. Unset if this mediation group targets all available regions. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.
      &quot;A String&quot;,
    ],
  },
}</pre>
</div>

</body></html>